{% extends "../../theme/calcubic_edit.html" %}


{% block zhuti %}
<!--
<div class="panel panel-default">


    <div class="panel-heading">
        所在位置：<a href="/">Maplet</a> > {{ view.title }} > 修改
    </div>
</div>
-->
<div class="panel panel-black">
    <div class="panel-heading">
        {{ view.title }} > 修改

    </div>
    <div class="panel-body">

        <form action="" method="post" class="form-horizontal">
            <fieldset>
                <div class="form-group">


                    <label class="col-sm-2 control-label" for="title">标题</label>

                    <div class="col-sm-10">
                        <input class="form-control" type="text" id="title" name="title" value="{{ view.title }}"
                               size=58/>
                    </div>
                </div>


                <div class="form-group">
                    <label class="col-sm-2 control-label" for="slug">Slug</label>

                    <div class="col-sm-10">
                        <input class="form-control" type="text" id="slug" name="slug" value="{{ view.uid }}" readonly/>
                    </div>
                </div>
                <div class="form-group">

                    <label class="col-sm-2 control-label" for="cnt_md">内容</label>

                    <div class="col-sm-10">
                        <textarea class="form-control" rows=16 id="cnt_md" name="cnt_md" cols="76">
                            {% raw unescape( view.cnt_md ) %}
                        </textarea>
                    </div>
                </div>

                <div class="form-group">


                    <label class="col-sm-2 control-label" for="sub1"></label>

                    <div class="col-sm-10">
                        <input id="sub1" type="submit" value="更新数据" class="btn btn-primary">
                    </div>
                </div>

            </fieldset>

        </form>
    </div>
</div>
{% end %}


